package com.cms.content.article.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cms.framework.utils.page.PageView;
import com.cms.content.article.pojo.Article;
import com.cms.content.article.pojo.ArticleWithBLOBs;
import com.cms.content.article.pojo.dto.ArticleWithBLOBsDTO;

public interface ArticleDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(ArticleWithBLOBs record);

    int insertSelective(ArticleWithBLOBs record);

    ArticleWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ArticleWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ArticleWithBLOBs record);

    int updateByPrimaryKey(Article record);
    
    List<ArticleWithBLOBs> selectByPage(@Param("pageView")PageView<ArticleWithBLOBsDTO> pageView,@Param("friendlinkDTOParams")ArticleWithBLOBsDTO articleWithBLOBsDTOParams);
}